#ifndef CAT_H
#define CAT_H

#include <stdio.h>

struct flags {
  int number_nonblank;   // b
  int show_end_of_line;  // e
  int number;            // n
  int squeeze_blank;     // s
  int show_tabs;         // t
  int show_hidden;       // v
};

void cat(FILE* file, struct flags flags, int* line_counter,
         int* was_empty_line);
unsigned char* read_line(FILE* file);
int is_line_empty(unsigned char* line);
void print_char(unsigned char to_print, struct flags flags);

#endif